home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
PDraw3.0.adf
/
pdraw_rex.lzh
/
SplitPath.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-06-15
|
229b
|
14 lines
/*
SplitPath.rexx
This Genie will split the path from a pathname
*/
parse arg path
colon = lastpos('/', path)
if colon = 0 then colon = lastpos(':', path)
if colon = 0 then return(path)
else return(substr(path, colon + 1))